home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / hark.gsh < prev    next >
Text File  |  2000-08-22  |  2KB  |  66 lines

  1. // defines Hark robot
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. #ifndef INCLUDED_HARK_GSH
  7. #define INCLUDED_HARK_GSH
  8.  
  9. ////////////////////////////////////////////////////////////////////////////////////
  10.  
  11. #include "defaults.gsh"
  12.  
  13. hierarchy Hcy_Hark
  14. {
  15.     file "units\hark mkii.RIF"
  16.     name "hark mkii"
  17.     hotspot "dum flash"
  18. }
  19.  
  20. hierarchy Hcy_HarkCustomize
  21. {
  22.     file "units\wephark.RIF"
  23.     name "wepslix"
  24. }
  25.  
  26. hierarchy Hcy_HarkShadow
  27. {
  28.     file "units\hark_shadow.RIF"
  29.     name "hark_shadow"
  30. }
  31.  
  32. character Chr_Hark : Chr_DefaultGoodie
  33. {
  34.     turning speed   1.4    // this is in revolutions per second
  35.     walking speed   1    // this is in animation cycles per second
  36.     strength        100    // initial strength points
  37.     aim             1    // how many degrees off target he can be at most
  38.     sight angle    89    // in degrees
  39.     sight range     18    // in metres
  40.     hearing range    19    // in metres
  41.     aggression        0.5    // from 0 to 1
  42.     customization hierarchy Hcy_HarkCustomize
  43.     shadow hierarchy        Hcy_HarkShadow
  44.     radius            0.5
  45.     description    hark description
  46.     status window u    339
  47.     status window v    337
  48.     gun yaw angle    180
  49. }
  50.  
  51. role Rol_Hark : Rol_DefaultRobot
  52. {
  53.     shape        Hcy_Hark
  54.     character    Chr_Hark
  55.     identifier    "HARK"
  56.     armour        1
  57.     destructibility Des_Explode
  58.     ai            bot
  59. //    sever point "upper arm left,upper arm right,neck"
  60.     limit        2
  61. }
  62.                     
  63. ////////////////////////////////////////////////////////////////////////////////////
  64.  
  65. // end wrapper - for preventing multiple or recursive inclusions
  66. #endif // !INCLUDED_HARK_GSH